<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../../static/js/jquery.js"></script>
</head>
<body>
{foreach name="group" item="g"}
    {$g.name}
{/foreach}
<div>
    {include file="index/index_table" group_name="$test" /}
</div>
<!--loader-->
<div id="loader_table">

</div>
<div>This is footer.</div>
</body>
</html>

<script>
    $('#loader_table').load("{:url('index/index/loader_table')}");
</script>